//
//  NSString+JwRegex.h
//  JwPack
//
//  Created by 陈警卫 on 2024-07-17.
//

#import <Foundation/Foundation.h>

@interface NSString (JwRegex)

/// 判断是否包含中文符号
- (BOOL)jw_includeChineseSymbol;

/// 判断是否包含汉字
- (BOOL)jw_includeChinese;

/// 验证数字
- (BOOL)jw_isDecimal;

/// 验证数字
- (BOOL)jw_isNumber;

/// 验证数字和小数点
- (BOOL)jw_isNumberAndPoint;

/// 验证邮箱
- (BOOL)jw_isEmail;

/// 验证手机号码
- (BOOL)jw_isPhone;

/// 验证邮政编码
- (BOOL)jw_isPostal;

/// 验证全中文
- (BOOL)jw_isAllChinese;

/// 简单验证身份证
- (BOOL)jw_isIDCard;

/// 密码验证 既有数字又有字母
- (BOOL)jw_isPassword;

/// 密码验证 既有数字又有字母 位数
- (BOOL)jw_isPasswordWithMin:(NSUInteger)min max:(NSUInteger)max;

/// 验证url字符串
- (BOOL)jw_isUrlString;

/// 验证身份证（严格）
- (BOOL)jw_isIDCardStrong;

/// 验证银行卡
- (BOOL)jw_isBankCard;

@end
